package com.hxk.starter;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 从配置类中获取以hxk开始的信息并注入给当前对象的属性
 */
@ConfigurationProperties(prefix = "hxk")
public class HxkProperties {

    /**前缀***/
    private String prefix;

    /**后缀***/
    private String suffix;

    public String getPrefix() {
        return prefix;
    }

    public void setPrefix(String prefix) {
        this.prefix = prefix;
    }

    public String getSuffix() {
        return suffix;
    }

    public void setSuffix(String suffix) {
        this.suffix = suffix;
    }
}
